﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Maba3ref.Yammer
{
    /// <summary>
    /// User access token which must use to communicate with Yammer through the API
    /// </summary>
    public class AccessToken
    {
        public string user_id { get; set; }
        public string network_id { get; set; }
        public string network_permalink { get; set; }
        public string network_name { get; set; }
        public string token { get; set; }
        public bool view_members { get; set; }
        public bool view_groups { get; set; }
        public bool view_messages { get; set; }
        public bool view_subscriptions { get; set; }
        public bool modify_subscriptions { get; set; }
        public bool modify_messages { get; set; }
        public bool view_tags { get; set; }
        public DateTime created_at { get; set; }
        public DateTime authorized_at { get; set; }
        public DateTime? expires_at { get; set; }
    }
}
